package spring.JUNIT.aop.API;

import java.lang.reflect.Method;

import org.springframework.aop.ThrowsAdvice;

public class zzyThrowAdvice implements ThrowsAdvice {

	public void afterThrowing(Exception ex) throws Throwable {
		System.out.println("zzyThrowAdvice afterThrowing");
	}

	public void afterThrowing(Method method, Object[] args, Object target,
			Exception ex) throws Throwable {
		System.out.println("zzyThrowAdvice afterThrowing2:" + method.getName()
				+ "  " + target.getClass().getName());
	}
}
